package com.starlink.model.dtomapper;

import com.starlink.model.domain.PointsAcquireBillDO;
import com.starlink.model.request.PointsAcquireBillRequest;
import com.starlink.model.vo.PointsAcquireBillVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author zhanghong
 */
@Mapper(componentModel = "spring")
public interface PointsAcquireBillDtoMapper {

    PointsAcquireBillDtoMapper INSTANCE = Mappers.getMapper(PointsAcquireBillDtoMapper.class);

    /**
    * DO to VO
    * @param pointsAcquireBillDO
    * @return
    */
    PointsAcquireBillVO do2VO(PointsAcquireBillDO pointsAcquireBillDO);

    /**
     * request to DO
     * @param request
     * @return
     */
    PointsAcquireBillDO request2DO(PointsAcquireBillRequest request);
}
